//
//  SHCoreData.h
//  SimpleHappy
//
//  Created by Vincen on 15/11/26.
//  Copyright © 2015年 RockyFung. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "SHDetailModel.h"
#import "SHMyLoginModel.h"
#import "WishList+CoreDataProperties.h"
#import "IsLogin+CoreDataProperties.h"

@interface SHCoreData : NSObject

// 增
+ (void)addModel:(SHDetailModel *)model;

// 删 (根据title)
+ (void)deleteModel:(NSString *)title;

// 查
+ (NSArray *)findAll;

// 查标题
+ (NSString *)findWithTitle:(NSString *)title;


// 登录状态 增
+ (void)addLogin:(SHMyLoginModel *)isLogin;

// 登录状态 查
+ (SHMyLoginModel *)islogin:(NSNumber *)islogin;

@end
